package cn.wolfcode.mapper;

import cn.wolfcode.domain.RedLog;
import org.apache.ibatis.annotations.Insert;

public interface RedLogMapper {
    @Insert("""
            insert into redlog (operator, create_time, class_name, method_name, parameter, return_value, execution_time) 
            values (
                    #{operator},
                    #{createTime},
                    #{className},
                    #{methodName},
                    #{parameter},
                    #{returnValue},
                    #{executionTime}
            );
            """)
    void insertRedLog(RedLog redLog);
}
